li=list([11,22,33,44])

class MyTest:
    def __init__(self,name):
        self.name=name
    def __str__(self):
        # __str__方法:返回的必须是个字符串
        return self.name
    def __repr__(self):
        # __repr__返回的是原始格式，如果是字符串会带有引号
        return "111"

m1=MyTest("南方")
print(m1)
li2='123'
print(li2)
print(repr(li2))
